Rudin–Shapiro Sequence
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Rudin–Shapiro sequence, also known as the Golay–Rudin–Shapiro sequence, is an infinite 2- automatic sequence named after Marcel Golay, Walter Rudin, and Harold S. Shapiro, who independently investigated its properties.


Definition

Each term of the Rudin–Shapiro sequence is either 1 or -1. If the binary expansion of n is given by :n = \sum_ \epsilon_k(n) 2^k, then let :u_n = \sum_ \epsilon_k(n)\epsilon_(n). (So u_n is the number of times the block 11 appears in the binary expansion of n.) The Rudin–Shapiro sequence (r_n)_ is then defined by :r_n = (-1)^. Thus r_n = 1 if u_n is even and r_n = -1 if u_n is odd. The sequence u_n is known as the complete Rudin–Shapiro sequence, and starting at n = 0, its first few terms are: :0, 0, 0, 1, 0, 0, 1, 2, 0, 0, 0, 1, 1, 1, 2, 3, ... and the corresponding terms r_n of the Rudin–Shapiro sequence are: :+1, +1, +1, −1, +1, +1, −1, +1, +1, +1, +1, −1, −1, −1, +1, −1, ... For example, u_6 = 1 and r_6 = -1 because the binary representation of 6 is 110, which contains one occurrence of 11; whereas u_7 = 2 and r_7 = 1 because the binary representation of 7 is 111, which contains two (overlapping) occurrences of 11.


Historical motivation

The Rudin–Shapiro sequence was introduced independently by Golay, Rudin, and Shapiro. The following is a description of Rudin's motivation. In
Fourier analysis In mathematics, Fourier analysis () is the study of the way general functions may be represented or approximated by sums of simpler trigonometric functions. Fourier analysis grew from the study of Fourier series, and is named after Joseph ...
, one is often concerned with the L^2 norm of a
measurable function In mathematics and in particular measure theory, a measurable function is a function between the underlying sets of two measurable spaces that preserves the structure of the spaces: the preimage of any measurable set is measurable. This is in ...
f \colon [0,2\pi) \to [0,2\pi) . This norm is defined by : , , f, , _2 = \left(\frac \int_0^ , f(t), ^2\,\mathrmt\right)^. One can prove that for any sequence (a_n)_ with each a_n in \, :\sup_ \left, \sum_ a_n e^\ \ge \left, \left, \sum_ a_n e^\\_2 = \sqrt. Moreover, for almost every sequence (a_n)_ with each a_n is in \, : \sup_ \left, \sum_ a_n e^ \ = O(\sqrt). However, the Rudin–Shapiro sequence (r_n)_ satisfies a tighter bound: there exists a constant C > 0 such that : \sup_ \left, \sum_ r_n e^ \ \le C\sqrt. It is conjectured that one can take C = \sqrt, but while it is known that C \ge \sqrt, the best published upper bound is currently C \le (2+\sqrt)\sqrt. Let P_n be the ''n''-th Shapiro polynomials, Shapiro polynomial. Then, when N = 2^n-1, the above inequality gives a bound on \sup_ , P_n(e^), . More recently, bounds have also been given for the magnitude of the coefficients of , P_n(z), ^2 where , z, = 1. Shapiro arrived at the sequence because the polynomials :P_n(z) = \sum_^ r_i z^i where (r_i)_ is the Rudin–Shapiro sequence, have absolute value bounded on the complex unit circle by 2^. This is discussed in more detail in the article on Shapiro polynomials. Golay's motivation was similar, although he was concerned with applications to
spectroscopy Spectroscopy is the field of study that measures and interprets the electromagnetic spectra that result from the interaction between electromagnetic radiation and matter as a function of the wavelength or frequency of the radiation. Matter ...
and published in an optics journal.


Properties

The Rudin–Shapiro sequence can be generated by a 4-state
automaton An automaton (; plural: automata or automatons) is a relatively self-operating machine, or control mechanism designed to automatically follow a sequence of operations, or respond to predetermined instructions.Automaton – Definition and More ...
accepting binary representations of non-negative integers as input. The sequence is therefore 2-automatic, so by Cobham's little theorem there exists a 2-uniform morphism \varphi with fixed point w and a coding \tau such that r = \tau(w), where r is the Rudin–Shapiro sequence. However, the Rudin–Shapiro sequence cannot be expressed as the fixed point of some uniform morphism alone. There is a recursive definitionPytheas Fogg (2002) p.42 : \begin b_ & = b_n \\ b_ & = (-1)^n b_n \end The values of the terms ''a''''n'' and ''b''''n'' in the Rudin–Shapiro sequence can be found recursively as follows. If ''n'' = ''m''·2''k'' where ''m'' is odd then :a_n = \begin a_ & \text m \equiv 1 \pmod 4 \\ a_ + 1 & \text m \equiv 3 \pmod 4 \end :b_n = \begin b_ & \text m \equiv 1 \pmod 4 \\ -b_ & \text m \equiv 3 \pmod 4 \end Thus ''a''108 = ''a''13 + 1 = ''a''3 + 1 = ''a''1 + 2 = ''a''0 + 2 = 2, which can be verified by observing that the binary representation of 108, which is 1101100, contains two sub-strings 11. And so ''b''108 = (−1)2 = +1. A 2-uniform morphism \varphi that requires a coding \tau to generate the Rudin-Shapiro sequence is the following:\begin \varphi: a&\to ab\\ b&\to ac\\ c&\to db\\ d&\to dc \end \begin \tau: a&\to 1\\ b&\to 1\\ c&\to -1\\ d&\to -1 \end The Rudin–Shapiro word +1 +1 +1 −1 +1 +1 −1 +1 +1 +1 +1 −1 −1 −1 +1 −1 ..., which is created by concatenating the terms of the Rudin–Shapiro sequence, is a fixed point of the morphism or string substitution rules :+1 +1 → +1 +1 +1 −1 :+1 −1 → +1 +1 −1 +1 :−1 +1 → −1 −1 +1 −1 :−1 −1 → −1 −1 −1 +1 as follows: :+1 +1 → +1 +1 +1 −1 → +1 +1 +1 −1 +1 +1 −1 +1 → +1 +1 +1 −1 +1 +1 −1 +1 +1 +1 +1 −1 −1 −1 +1 −1 ... It can be seen from the morphism rules that the Rudin–Shapiro string contains at most four consecutive +1s and at most four consecutive −1s. The sequence of partial sums of the Rudin–Shapiro sequence, defined by :s_n = \sum_^n b_k \, , with values :1, 2, 3, 2, 3, 4, 3, 4, 5, 6, 7, 6, 5, 4, 5, 4, ... can be shown to satisfy the inequality :\sqrt < s_n < \sqrt \text n \ge 1 \, . If (s_n)_ denotes the Rudin–Shapiro sequence on \, which is given by s_n \equiv e_(n) \pmod, then the generating function :S(X) = \sum_ s_n X^n satisfies :(1+X)^5 S(X)^2 + (1+X)^4 S(X) + X^3 = 0, making it algebraic as a formal power series over \mathbb_2(X). The algebraicity of S(X) over \mathbb_2(X) follows from the 2-automaticity of (s_n)_ by Christol's theorem. The Rudin–Shapiro sequence along squares (r_)_ is normal. The complete Rudin–Shapiro sequence satisfies the following uniform distribution result. If x \in \mathbb \setminus \mathbb, then there exists \alpha = \alpha(x) \in (0,1) such that :\sum_ \exp(2\pi ixu_n) = O(N^) which implies that (xu_n)_ is uniformly distributed modulo 1 for all irrationals x.


Relationship with one-dimensional Ising model

Let the binary expansion of n be given by :n = \sum_ \epsilon_k(n) 2^k where \epsilon_k(n) \in \. Recall that the complete Rudin–Shapiro sequence is defined by :u(n) = \sum_ \epsilon_k(n)\epsilon_(n). Let :\tilde_k(n) = \begin \epsilon_k(n) & \text k \le N-1, \\ \epsilon_0(n)& \text k = N. \end Then let :u(n,N) = \sum_ \tilde_k(n)\tilde_(n). Finally, let :S(N,x) = \sum_ \exp(2\pi ixu(n,N)). Recall that the partition function of the one-dimensional Ising model can be defined as follows. Fix N \ge 1 representing the number of sites, and fix constants J > 0 and H > 0 representing the coupling constant and external field strength, respectively. Choose a sequence of weights \eta = (\eta_0,\dots,\eta_) with each \eta_i \in \. For any sequence of spins \sigma = (\sigma_0,\dots,\sigma_) with each \sigma_i \in \, define its Hamiltonian by :H_(\sigma) = -J\sum_ \eta_k \sigma_k \sigma_ - H \sum_ \sigma_k. Let T be a constant representing the temperature, which is allowed to be an arbitrary non-zero complex number, and set \beta = 1/(kT) where k is
Boltzmann's constant The Boltzmann constant ( or ) is the proportionality factor that relates the average relative kinetic energy of particles in a gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin and the gas constant ...
. The partition function is defined by :Z_N(\eta,J,H,\beta) = \sum_ \exp(-\beta H_(\sigma)). Then we have :S(N,x) = \exp\left(\frac\right)Z_N\left(1,\frac,-1,\pi ix\right) where the weight sequence \eta = (\eta_0,\dots,\eta_) satisfies \eta_i = 1 for all i.Allouche and Shallit (2003) p. 457–461


See also

* Shapiro polynomials


Notes


References

* * * * {{DEFAULTSORT:Rudin-Shapiro sequence Binary sequences